#include <cstdlib>

class Array {
	static const int mult = 2;
	int _size;
	int capacity;
	int *a;

	void swap(Array& arr);

public:
    Array(size_t size);
    Array(const Array& arr);
    Array& operator=(const Array& arr);
    int get(size_t index) const;
    void set(size_t index, int value);
    void push_back(int value);
    size_t size() const;
};